//package com.xlh.job;
//
//import com.xlh.service.courseTest.PracticeService;
//import org.slf4j.Logger;
//import org.slf4j.LoggerFactory;
//import org.springframework.beans.factory.annotation.Autowired;
//import org.springframework.scheduling.annotation.Scheduled;
//import org.springframework.stereotype.Component;
//
///**
// * @author 962213579 2019/5/6
// */
//@Component
//public class PracticeCacheGCTask {
//
//    private static final Logger LOGGER = LoggerFactory.getLogger(PaperGCTask.class);
//
//    @Autowired
//    private PracticeService practiceService;
//
//    /**
//     * 每天凌晨1点执行题库定时清理任务
//     */
//    @Scheduled(cron = "0 0 1 * * *")
//    public void repositoryClean() {
//        LOGGER.info("开始执行随堂练习清理任务");
//
//        practiceService.clear();
//
//        LOGGER.info("执行随堂练习缓存清理任务完毕");
//    }
//}
